/**
 * 
 */
package org.eclipse.mobileapplicationdeveloper.wizard;

import org.eclipse.jface.wizard.Wizard;

public class WizardGenerateCode extends Wizard {

	protected WConstructor1 one;
	protected WConstructor2 two;

	public WizardGenerateCode() {
		super();
		setNeedsProgressMonitor(true);
	}

	@Override
	public void addPages() {

		one = new WConstructor1();
		two = new WConstructor2();

		addPage(one);
		addPage(two);
		two.setPageComplete(true);

	}

	@Override
	public boolean performFinish() {
		// Print the result to the console
		System.out.println(one.getText1());
		System.out.println(two.getText1());

		return true;
	}
}
